package com.open.capacity.paper.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.open.capacity.common.model.QuestionOption;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

/**
 * @author liangd
 * @since 2021-02-01 19:17
 */
@Mapper
public interface QuesionOptionDao extends BaseMapper<QuestionOption> {

    void insertBatch(List<QuestionOption> questionOptionList);

    void deleteBatchByIds(@Param("quesid") Integer quesid, @Param("optionIds") Set<Integer> optionIds);
}
